<br />
<a class="sexybutton sexysimple sexymagenta" href="/adminarea/reviews/">Service Reviews</a>  
<a class="sexybutton sexysimple sexymagenta" href="/adminarea/reviews/type/rest">Restaurant Reviews</a>  

<table width="100%" cellspacing="0" cellpadding="8" class="newsfeed" id="myTable" border="0"  valign="top">
<thead>
	<tr>
		<th>ID#</th>
		<th>Date</th>
		<th>Name</th>
		<th>Review</th>
		<th>Status</th>
		<th>&nbsp;</th>
	</tr>
</thead>
<tbody>

	<?php
	foreach ($this->allReviews as $oItem)
	{
//	print_r($oItem);
		?>
	<tr id="row_<?php echo $oItem->id; ?>" valign="top">
		<td><?php echo $oItem->id; ?></td>
		<td class="{field: 'post_date'}"><?php echo $this->escape($oItem->post_date); ?></td>
		<td class="{field: 'name'}"><?php echo $this->escape($oItem->first_name) . ' ' . $this->escape($oItem->last_name); ?></td>
		<td class="td_review"><?php echo $this->escape($oItem->review); ?></td>
		<td class="{field: 'name'}"><?php echo $this->escape($oItem->status); ?></td>

		<td><a href="/adminarea/editreview/id/<?php echo $oItem->id; ?>/id_restaurant/<?php echo $this->idRestaurant; ?>" class="sexybutton sexysimple sexymagenta"><span class="edit">Edit</span></a></td>
		<td class="del_review"><a id="<?php echo $oItem->id; ?>"
			href="javascript: void(0);" class="sexybutton sexysimple sexymagenta delete_rev"><span class="delete">Delete</span></a></td>
	</tr>
	<?php
	}
	?>

</tbody>
</table>

	<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination.phtml'); ?>